package com.qf.sys.po;

/**
 * @创建人 sunsir Email:sunsir163@163.com
 * @创建时间 2022/5/6
 * @描述
 */
public class Dept {//id deptNo deptname cid status 序号 部门编号 部门名称 所属城市 状态
    private Integer id;             //序号        ->id
    private Integer deptNo;         //部门编号     ->deptNo
    private String deptName;        //部门名称     ->deptname
    private Integer status=1;         //状态        ->status
    private Citys city;              //所属城市     ->cno

    //get set 构造器方法

    public Dept() {
    }

    public Dept(Integer deptNo, String deptName, Integer status, Citys city) {
        this.deptNo = deptNo;
        this.deptName = deptName;
        this.status = status;
        this.city = city;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(Integer deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Citys getCity() {
        return city;
    }

    public void setCity(Citys city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "id=" + id +
                ", deptNo=" + deptNo +
                ", deptName='" + deptName + '\'' +
                ", status=" + status +
                ", city=" + city +
                '}';
    }
}
